import request from '@/utils/request'

export function addProduct(data) {
  return request({
    url: '/admin/webProduct/add',
    method: 'post',
    data
  })
}
export function getDetail(data) {
  return request({
    url: '/admin/webProduct/getDetail',
    method: 'post',
    data
  })
}
export function editContent(data) {
  return request({
    url: '/admin/webProduct/updateContent',
    method: 'post',
    data
  })
}
export function getListPage(data) {
  return request({
    url: '/admin/webProduct/getList',
    method: 'post',
    data
  })
}
export function changeFiled(data) {
  return request({
    url: '/admin/webProduct/editField',
    method: 'post',
    data
  })
}
export function remove(data) {
  return request({
    url: '/admin/webProduct/remove',
    method: 'post',
    data
  })
}
